<?php
/**
 * Created by PhpStorm.
 * User: Sojo
 * Date: 2017/5/31
 * Time: 17:36
 */
namespace App\Api\Service\Product\Controllers;

use Framework\BaseClass\Api\Controller;
use App\Eloquent\Ygt\Product;
use App\Eloquent\Ygt\ProductFields;
use App\Engine\Func;

class AttrController extends Controller
{
    /**
     * 获取材料 属性字段
     */
    public function getProductAttrList(){
        $productId = request('product_id');
        $list = ProductFields::where('product_id',$productId)->get();
        return $list;
    }

    public function getProductAttrData(){
        
    }
}